export default function() {
  let courseType = (type) => {
    let val = ''
    switch (type) {
      case 1: val = '初级'; break
      case 2: val = '中级'; break
      case 3: val = '高级'; break
      default: val = ''
    }
    return val
  }
  return { courseType }
}
